*{
	margin: 0;
	padding: 0;
}
html,body,#app{
	height: 100%;
	max-width: 640px;
	margin: 0 auto;
	overflow:hidden;
}
body{
	font-family: '微软雅黑';
}

/*开始页面*/
#startPage{
	height: 100%;
	background: url(../img/startback.jpg) no-repeat 0 bottom;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	background-color: #c83731;
	position: relative;
}
#startBanner{
	width:100%;
	height: 3.69rem;
	position: absolute;
	left:0;
	top:.23rem;
	background: url(../img/banner.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#startBtn{
	width:3.79rem;
	height: 1.15rem;
	position: absolute;
	left:0;
	right:0;
	bottom:2rem;
	margin: auto;
}
.linkBox{
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	width:100%;
	height: .76rem;
	position: absolute;
	left:0;
	bottom: 0;
}
.linkBox::after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin: auto;
	width:1px;
	height: .3rem;
	background: #ffffff;
}
.linkBox .linkItem{
	width:1.9rem;
	height: .76rem;
	line-height: .76rem;
	font-size: .28rem;
	color:#ffffff;
	text-align: center;
}

#gamePage{
	width:100%;
	height: 100%;
	position: relative;
	background: url(../img/gameback.jpg) no-repeat 0 0;
	background-color: #fec135;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
}
.collectItem{
	width:1.61rem;
	height: 2.04rem;
	background: url(../img/collectAera.png);
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
	bottom:-2.72rem;
	display: flex;
	flex-wrap:wrap;
	box-sizing: border-box;
	align-content: flex-start;
	padding: .08rem;
	justify-content: space-between;
}
#cardBox .collectItem .card{
	width:.71rem;
	height: .9rem;
	flex-shrink: 0;
	margin-right: 0;
	margin-bottom: .05rem;
	-webkit-background-size: contain;
	background-size: contain;
}
.collectItem:after{
	content:'';
	width:100%;
	height: .43rem;
	background: url(../img/areatitle.png);
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
	left:0;
	bottom: -.56rem;
}
#cardBox .collectItem:nth-of-type(1){
	left:-.24rem;
}
#cardBox .collectItem:nth-of-type(2){
	left:1.51rem;
}
#cardBox .collectItem:nth-of-type(3){
	left:3.26rem;
}
#cardBox .collectItem:nth-of-type(4){
	left:5.01rem;
}
#cardBox{
	width:6.4rem;
	height: 6rem;
	position: absolute;
	top:2.27rem;
	left:0;
	right:0;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	align-content: flex-start;
	padding-top:.53rem;
	padding-left: .68rem;
	z-index: 19;
}
#cardBox .card{
	width:.71rem;
	height: .9rem;
	flex-shrink: 0;
	margin-right: .74rem;
	margin-bottom: .45rem;
	-webkit-background-size: contain;
	background-size: contain;
}
#cardBox .card:nth-child(4n){
	margin-right: 0;
}
.card[data-type="1"],#moveCard[data-type="1"]{
	background-image: url(../img/card1.png);
}
.card[data-type="2"],#moveCard[data-type="2"]{
	background-image: url(../img/card2.png);
}
.card[data-type="3"],#moveCard[data-type="3"]{
	background-image: url(../img/card3.png);
}
.card[data-type="4"],#moveCard[data-type="4"]{
	background-image: url(../img/card4.png);
}
#moveCard{
	width:.71rem;
	height: .9rem;
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
}
#sucessPage,#failPage{
	position: absolute;
	top:0;
	left:0;
	background: rgba(0,0,0,.6);
	width:100%;
	height: 100%;
	z-index: 59;
}
#successbox{
	width: 6.18rem;
	height: 9.12rem;
	position: absolute;
	left:0;
	top:1rem;
	right:0;
	margin: auto;
	background: url(../img/successbox.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}
.btn{
	width:3.38rem;
	height: .8rem;
	position: absolute;
	left:0;
	right:0;
	margin: auto;
}
.friend{
	bottom: .65rem;
}
.again{
	bottom: 1.79rem;
}
.lottery{
	bottom:2.92rem;
}
#failbox{
	width: 6.18rem;
	height: 8.11rem;
	position: absolute;
	left:0;
	top:1.4rem;
	right:0;
	margin: auto;
	background: url(../img/failbox.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}
.failAgain{
	bottom: 1.82rem;
}
.failfriend{
	bottom:.68rem;
}